|
CallGraph
|
00001 /*************************************************************** 00002 * Name: gprofparser.h 00003 * Purpose: Header to create stream parser from gprof. 00004 * Author: Vaclav Sprucek 00005 * Created: 2012-03-04 00006 * Copyright: Vaclav Sprucek 00007 * License: wxWidgets license (www.wxwidgets.org) 00008 * Notes: 00009 **************************************************************/ 00010 00011 #include <wx/wx.h> 00012 #include <wx/string.h> 00013 #include <wx/stream.h> 00014 #include <wx/txtstrm.h> 00015 // 00016 #include "lineparser.h" 00021 class GprofParser 00022 { 00023 private: 00024 wxString readlinetext; 00025 wxString readlinetexttemp; 00026 bool lineheader; 00027 bool primaryline; 00028 int nameLen; 00029 char *nameandid; 00030 bool isdot; 00031 bool iscycle; 00032 bool islom; 00033 bool isplus; 00034 00035 public: 00039 GprofParser(); 00043 ~GprofParser(); 00047 LineParserList lines; 00052 void GprofParserStream(wxInputStream *m_pInputStream); 00053 };